<#include "head.html"/>	
<SCRIPT type="text/javascript">
	$(document).ready(function(){
		var ztree = $.fn.zTree.init($(document.getElementById("zTree_adminLIst")), setting, zNodes1);
		ztree.selectNode(ztree.getNodeByParam("id", "log", null));
	});
</SCRIPT>

<div class="rs_layout_top breadCrumbWrap">
	<div class="breadCrumbStart">您当前的位置是在：</div>
	<ul class="breadCrumb">
		<li class="bc_ithems"><a href="/${orgi}/manage/task/taskpassing.html">系统管理</a></li>
		<li class="bc_ithems"><a href="/${orgi}/manage/serviceplan/systemstatus/all.html">系统服务规划</a></li>
	</ul>
</div>


		
<!--<div class="rs_layout_right" style="width:300px;"></div>-->
<div class="rs_layout_center">
	<div class="rs_layout">
		<div class="rs_layout_left" resizable="true" style="width:230px;">
			<div class="lftTreeWrap">
			<form id="searchForm" action="/${orgi}/manage/serviceplan/serverlog/${server.id!''}.html" method="post">
			<#include "serverleft.html"/>
			</form>
			</div>
		</div>
		<div class="rs_layout_center">
			<div class="tableScrollWrap" tabindex="5000" style="overflow: hidden; outline: none;">
		 		<table class="table_style_1">
					<thead>
						<tr>
							<th class="minSize"><i class="verMidWrap">操作人</i></th>
							<th class="minSize"><i class="verMidWrap">时间</i></th>
							<th class="minSize"><i class="verMidWrap">级别</i></th>
							
							<th class="minSize"><i class="verMidWrap">触发源</i></th>
							<th><i class="verMidWrap">消息内容</i></th>
						</tr>
					</thead>
					<tbody>
						<#if loglist??>
						<#list loglist as log>
						<tr>
							<td class="minSize <#if log.username??>loguser<#else><#if log.levels?? && log.levels = 'WARN'>log-warn<#elseif log.levels?? && log.levels = 'ERROR'>log-error</#if></#if>">${log.username!'系统'}</td>
							<td class="minSize <#if log.username??>loguser<#else><#if log.levels?? && log.levels = 'WARN'>log-warn<#elseif log.levels?? && log.levels = 'ERROR'>log-error</#if></#if>">${log.createdate?string('yyyy-MM-dd HH:mm:ss')}</td>
							<td class="minSize <#if log.username??>loguser<#else><#if log.levels?? && log.levels = 'WARN'>log-warn<#elseif log.levels?? && log.levels = 'ERROR'>log-error</#if></#if>">${log.levels}</td> 
							<td class="minSize <#if log.username??>loguser<#else><#if log.levels?? && log.levels = 'WARN'>log-warn<#elseif log.levels?? && log.levels = 'ERROR'>log-error</#if></#if>" title="${log.clazz}.${log.method}(${log.files}:${log.linenumber})">${log.files}</td>
							<td class="<#if log.username??>loguser<#else><#if log.levels?? && log.levels = 'WARN'>log-warn<#elseif log.levels?? && log.levels = 'ERROR'>log-error</#if></#if>">
								<pre><a href="/${orgi}/manage/serviceplan/logdetail/${log.id!''}.html" data-toggle="ajax"><#if log.msg?? && log.msg?length gt 100>${log.msg[0..100]}<#else>${log.msg}</#if></a></pre>
							</td>
						</tr>
						</#list>
						</#if>
					</tbody>
				</table>
				
			</div> 
		</div>
		<div class="rs_layout_bottom">
			<#include "../../public/pagination.html"/>
		</div>
	</div>
	 
</div>
